<?php $this->load->view("common/page_header");?>
	<?php $this->load->view("common/top_banner");?>
	<?php $this->load->view("common/header");?>
	<div id="body_main">
		<?php $this->load->view('common/user_top');?>
		<div class="top_border">
			<div class="arrow_up" style="left:90px"></div>
		</div>
		
		<div id="body_content" class="user_info">
			<?php $this->load->view("common/user_info_table");?>
			
			<div class="margin_top15">
				<?php $this->load->view("common/user_info_navigator");?>
				<div class="user_info_content">
					<div class="head">
						<ul class="suborder">
							<li class="<?php if($type == 'apply') {?>current<?php }?>"><a href="<?php echo site_url("user/story/?user_id=" . $user_info['id']); ?>"><?php echo $ta?>报名的</a></li>
							<li class="<?php if($type == 'pub') {?>current<?php }?>"><a href="<?php echo site_url("user/story/?user_id=" . $user_info['id']) . "&type=pub"; ?>"><?php echo $ta?>发布的</a></li>
							<?php if ($is_author) {?>
							<li class="<?php if($type == 'favourite') {?>current<?php }?>"><a href="<?php echo site_url("user/story/?user_id=" . current_user() . "&type=favourite"); ?>"><?php echo $ta?>收藏的</a></li><?php }?>
							<?php if(current_user() > 0) {?><li class="action"><a href="/story/create">+发布事项</a></li><?php }?>
						</ul>
						
						<div class="arrow_up"
							<?php if ($type == 'apply') { ?> 
								style="left:56px;"
							<?php } else if ($type == 'pub') {?>
								style="left:206px;"
							<?php } else if ($type == 'favourite') { ?>
								style="left:356px;"
							<?php } ?>
						>						
							<em>◆</em>
							<span>◆</span>
						</div>
						<div class="clear"></div>
					</div>
					
					<?php $this->load->view('common/story_list'); ?>
					<?php $this->load->view('common/page_controller');?>
				</div>
				<div class="clear"></div>
			</div>
		</div>
		
		
		<?php $this->load->view("common/footer");?>		
		
		<p class="center">Page rendered in {elapsed_time} seconds</p>
	</div>
	
<?php $this->load->view("common/page_footer");?>
